﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TMTemplate
{
	public partial class LastPage : UserControl
	{
		public LastPage()
		{
			InitializeComponent();
            this.MouseEnter += new MouseEventHandler((s, e) => { VisualStateManager.GoToState(this, "Enter", false); });
            this.MouseLeave += new MouseEventHandler((s, e) => { VisualStateManager.GoToState(this, "Normal", false); });

            this.MouseLeftButtonUp += new MouseButtonEventHandler
            ((s, e) =>
            {
                VisualStateManager.GoToState(this, "Normal", false);
                VisualStateManager.GoToState(this, "Enter", false);
            });
        }
	}
}